package gen.core.models;

import java.text.MessageFormat;

public class Column {
	private String name = "";
	private String name1 = "";
	private String name2 = "";
	private int type = -1;

	public Column() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName1() {
		return name1;
	}

	public void setName1(String name1) {
		this.name1 = name1;
	}

	public String getName2() {
		return name2;
	}

	public void setName2(String name2) {
		this.name2 = name2;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String toString() {
		return MessageFormat.format("{name={0}, name1={1}, name2={2}, type={3}}", this.name, this.name1, this.name2, this.type);
	}
}
